﻿using System;
using System.IO;

namespace Mono.Cecil.Cil
{
	// Token: 0x02000130 RID: 304
	public sealed class EmbeddedPortablePdbWriterProvider : ISymbolWriterProvider
	{
		// Token: 0x06000B8D RID: 2957 RVA: 0x00034608 File Offset: 0x00032808
		public ISymbolWriter GetSymbolWriter(ModuleDefinition module, string fileName)
		{
			Mixin.CheckModule(module);
			Mixin.CheckFileName(fileName);
			MemoryStream memoryStream = new MemoryStream();
			PortablePdbWriter writer = (PortablePdbWriter)new PortablePdbWriterProvider().GetSymbolWriter(module, memoryStream);
			return new EmbeddedPortablePdbWriter(memoryStream, writer);
		}

		// Token: 0x06000B8E RID: 2958 RVA: 0x00003BD0 File Offset: 0x00001DD0
		public ISymbolWriter GetSymbolWriter(ModuleDefinition module, Stream symbolStream)
		{
			throw new NotSupportedException();
		}
	}
}
